package org.ipower.examsystem.service;

import java.io.Serializable;
import java.util.Date;
/**
 * 会员科目信息。
 * @author jeasonyoung
 */
public class MembershipCatalogInfo implements Serializable  {
    private static final long serialVersionUID = 1L;
    private String id,text;
    private boolean leaf,expanded,checked;
    private Date createTime;
    private int cycle;
    private MembershipCatalogInfoCollection children = null;
    
    public MembershipCatalogInfo(){
        this.children = new MembershipCatalogInfoCollection();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public boolean isLeaf() {
        return leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }
 
    public boolean isExpanded() {
        return expanded;
    }
    
    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }
    
    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getCycle() {
        return cycle;
    }

    public void setCycle(int cycle) {
        this.cycle = cycle;
    }
    
    public MembershipCatalogInfoCollection getChildren() {
        return children;
    }

    public void setChildren(MembershipCatalogInfoCollection children) {
        this.children = children;
    }
}